'use strict';
/**
 * model
 */var _classCallCheck = require('babel-runtime/helpers/class-call-check')['default'];exports.__esModule = true;var _default = function _default() {_classCallCheck(this, _default);};exports['default'] = _default;module.exports = exports['default'];


/*var oriento = require('oriento');*/
/*var server = oriento({
  host: 'localhost',
  port: 2424,
  username: 'root',
  password: 'ldj123'
});
 	var db = server.use({
name: 'weather',
username: 'admin',
password: 'admin'
});
// */

// 在线咨询
/* let http = require("http");  
 let key = '8292b4d51f3900b8f44d8810c7231c3c';
 let place = 'Beijing';
 let urllocal = 'http://api.openweathermap.org/data/2.5/weather'
 function getUrl() {
   let urlw = urllocal+'?q='+place+'&appid='+key;
   return urlw;
 } 
  function getWeather() {
     http.get(this.getUrl(), function(res) {
       res.on('data', function(d) {
          process.stdout.write(d);
          
       });
     }).on('error', function(e) {
       console.error(e);
     });
 }*/